<?php require('template/header.php') ?>
  <?php
  $row = $data['orders'];
  $oid = $row['oid'];
  $numbers = $row['numbers'];
  $totalprice = $row['totalprice'];
  $address = $row['address'];
 ?>
 <div id="page-wrapper">
 <div class="container-fluid col-md-offset-1 col-md-10">
 <form class="form-horizontal" method="post" action="index.php?c=order&m=updateorder" enctype="multipart/form-data">
    <div class="form-group">
      <label class="col-md-2 control-label">订单编号</label>
      <div class="col-md-4">
        <label class="control-label"><?php echo $oid; ?></label>
        <input type="hidden" name="oid" class="form-control" value=<?php echo $oid; ?>></input>
      </div>
    </div>


    <div class="form-group">
      <label class="col-md-2 control-label">电话号码</label>
      <div class="col-md-4">
        <input type="number" name="numbers" class="form-control" value=<?php echo $numbers; ?>></input>
      </div>
    </div>


    <div class="form-group">
      <label class="col-md-2 control-label">总价</label>
      <div class="col-md-4">
         <input type="number" name="totalprice" class="form-control" value=<?php echo $totalprice; ?>></input>
      </div>
    </div>

     <div class="form-group">
      <label class="col-md-2 control-label">地址</label>
      <div class="col-md-4">
        <input type="text" name="address" class="form-control" value=<?php echo $address; ?>></input>
      </div>
    </div>


    <div class="form-group">
      <label class="col-md-2 control-label">操作</label>
      <div class="col-md-4">
        <input type="submit" value="更新" class="btn btn-default"></input>
        <input type="reset" value="重置" class="btn btn-default"></input>
      </div>
    </div>
 </form>
 </div>


                    </div>
                </div>

            </div>

        </div>
        </div>
<?php require('template/footer.php') ?>